#include "Video.h"
#include "app_common.h"

int user_video_init(void)
{
}

int user_video_deinit(void)
{
}

int user_video_venc_start(int chn, VideoVencDataCallback pfnVencDataCb)
{
}

int user_video_venc_stop(int chn, VideoVencDataCallback pfnVencDataCb)
{
}

int user_video_copy_data(int chn, void *data, MEDIA_PACK_VIDEO *pstPackVideo, int maxSize)
{
}

int user_video_set_resolution_without_config(VIDEO_CHN_E chn, VIDEO_STREAM_ATTR_S stStreamAttr)
{
}

int user_video_set_resolution(VIDEO_CHN_E chn, VIDEO_STREAM_ATTR_S stStreamAttr)
{
}

int user_vidoe_get_resolution(VIDEO_CHN_E chn, VIDEO_STREAM_ATTR_S *pstStreamAttr)
{
}

int user_video_request_idr_frame(VIDEO_CHN_E chn)
{
}

int user_video_set_flip(VIDEO_FLIP_ATTR_S stFlipAttr)
{
}

int user_video_get_flip(VIDEO_FLIP_ATTR_S *pstFlipAttr)
{
}

int user_video_set_daynight_mode(VIDEO_CHN_E chn, VIDEO_NIGHT_MODE_E enNightMode)
{
}

int user_video_get_daynight_mode(VIDEO_CHN_E chn, VIDEO_NIGHT_MODE_E *pNightMode)
{
}

int user_video_get_snap_pic(unsigned char **pData, int *pSize)
{
}

static VIDEO_OPS_FUNC_S gs_stUserVideoFuncOps = {
    .init                           = user_video_init,
    .deinit                         = user_video_deinit,

    .video_venc_start               = user_video_venc_start,
    .video_venc_stop                = user_video_venc_stop,

    .video_copy_data                = user_video_copy_data,

    .set_resolution                 = user_video_set_resolution,
    .set_resolution_without_config  = user_video_set_resolution_without_config,
    .get_resolution                 = user_vidoe_get_resolution,

    .request_idr_frame              = user_video_request_idr_frame,

    .set_flip                       = user_video_set_flip,
    .get_flip                       = user_video_get_flip,

    .set_daynight_mode              = user_video_set_daynight_mode,
    .get_daynight_mode              = user_video_get_daynight_mode,

    .get_snap_pic                   = user_video_get_snap_pic,
};

VIDEO_OPS_FUNC_S *user_video_ops_handle(void)
{
    return &gs_stUserVideoFuncOps;
}
